﻿#ifndef CONTROLLER_H
#define CONTROLLER_H

#include <QMap>

class Command;

class Controller
{
public:
    Controller();

    void close();

    void open();

    void setOpenCommand(Command* openCmd);

    void setCloseCommand(Command* closeCmd);

private:
    QMap<int, Command*> m_commandMap;
};

#endif // CONTROLLER_H
